import request from '../utils/axios';

export function getCase(data) {
  return request.post({
    url: '/api/test/hand_label',
    method: 'post',
    data,
  });
}
export function getTemplate() {
  return request.get({
    url: '/api/test/template',
    method: 'get',
  });
}
export function getLabelColor() {
  return request.get({
    url: '/api/test/label_color',
    method: 'get',
  });
}
export function getTermMapping(data) {
  return request.post({
    url: '/api/test/term_mapping',
    method: 'post',
    data,
  });
}
export function getHandResult(data) {
  return request.post({
    url: '/api/test/hand_result',
    method: 'post',
    data,
  });
}